
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            width:800px;
            margin: 0 auto;
        }
        
        #videos {
            display: grid;
            grid-template-columns: 1fr 1fr;
            column-gap: 1em;
            width: 100%;
            padding: 10px;
            }
            
        video {
            width: 200%;
            border:2px solid greenyellow;
            background-color: rgb(63, 62, 62);

        }
        
        textarea{
            height: 50px;
            width: 100%;
            }
            
        .step{
            background-color: beige;
            padding: 10px;
            margin: 10px;
            }
        
        .step p{
            margin: 0;
            }
        @media screen and (max-width:800px) {
            body{
                width: 100%;
            }
        }

        #line{
            padding: 50px;
        }
    </style>

</head>
<body>
    <div id="intro-container">
        <!-- <h2>Webrtc,no signaling</h2> -->
        <h2>Webrtc 发送端 </h2>
    </div>
    <div id="videos">
        <video class="video-player" id="user-1" autoplay playsinline></video>
    </div>

    <div class = "step">
      <button id = "create-offer">Ctreate Offer</button>
    </div>
    <label>SDP OFFER:</label>
    <textarea id = 'offer-sdp' placeholder=''></textarea>

    <label>SDP Answer</label>
    <textarea id="answer-sdp" placeholder=""></textarea>

    <div class=" stdp">
        <button id="add-answer">Add answer</button>
    </div>

    <!-- <hr style="height:2px;border:none;border-top:2px dotted #185598;"> 华丽水平分割线 -->
    <div id="line"></div>

    <label>Gen ICE:</label>
    <textarea id = 'gen-ice' placeholder=''></textarea>

    <label>ICE:</label>
    <textarea id = 'ice' placeholder=''></textarea>

    <div class=" stdp">
        <button id="add-ice">Add ICE</button>
    </div>


</body>

<script src="send.js"></script>
</html>